package com.secxiot.provider.system.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

@ApiModel
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ToString
@Data
public class AppSchedulRecordVo implements Serializable {

    @ApiModelProperty(value = "记录ID", required = true)
    private Long schedulRecordId;

    @ApiModelProperty(value = "排班ID", required = true)
    private Long schedulId;

    @ApiModelProperty(value = "医院ID", required = true)
    private Long hospitalId;

    @ApiModelProperty(value = "人员ID", required = true)
    private Long userId;

    @ApiModelProperty(value = "人员姓名", required = true)
    private String userName;

    @ApiModelProperty(value = "排班类型:字典00018", required = true)
    private String schedulType;

    @ApiModelProperty(value = "排班日期", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date schedulDate;

    @ApiModelProperty(value = "是否有效，0：无效 1：有效'", required = true)
    private Integer status;

    @ApiModelProperty(value = "创建人", required = true)
    private Long createUser;

    @ApiModelProperty(value = "创建时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "排班类型", required = true)
    private List<String> schedulTypeMap;
}